// 在main.js中引用
import {createApp} from 'vue'
import App from './AppMobile.vue'
import router from './router'  // 引入路由模块
import '../src/css/global.css'

import ElementPlus from 'element-plus' //全局引入
import 'element-plus/dist/index.css'
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
let app = createApp(App)


app.use(router) // 初始化路由插件
app.use(ElementPlus) //引入element

for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.mount('#app')


